home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / lib / python2.6 / symbol.pyc (.txt) < prev    next >
Python Compiled Bytecode  |  2009-11-11  |  3KB  |  110 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. '''Non-terminal symbols of Python grammar (from "graminit.h").'''
  5. single_input = 256
  6. file_input = 257
  7. eval_input = 258
  8. decorator = 259
  9. decorators = 260
  10. decorated = 261
  11. funcdef = 262
  12. parameters = 263
  13. varargslist = 264
  14. fpdef = 265
  15. fplist = 266
  16. stmt = 267
  17. simple_stmt = 268
  18. small_stmt = 269
  19. expr_stmt = 270
  20. augassign = 271
  21. print_stmt = 272
  22. del_stmt = 273
  23. pass_stmt = 274
  24. flow_stmt = 275
  25. break_stmt = 276
  26. continue_stmt = 277
  27. return_stmt = 278
  28. yield_stmt = 279
  29. raise_stmt = 280
  30. import_stmt = 281
  31. import_name = 282
  32. import_from = 283
  33. import_as_name = 284
  34. dotted_as_name = 285
  35. import_as_names = 286
  36. dotted_as_names = 287
  37. dotted_name = 288
  38. global_stmt = 289
  39. exec_stmt = 290
  40. assert_stmt = 291
  41. compound_stmt = 292
  42. if_stmt = 293
  43. while_stmt = 294
  44. for_stmt = 295
  45. try_stmt = 296
  46. with_stmt = 297
  47. with_var = 298
  48. except_clause = 299
  49. suite = 300
  50. testlist_safe = 301
  51. old_test = 302
  52. old_lambdef = 303
  53. test = 304
  54. or_test = 305
  55. and_test = 306
  56. not_test = 307
  57. comparison = 308
  58. comp_op = 309
  59. expr = 310
  60. xor_expr = 311
  61. and_expr = 312
  62. shift_expr = 313
  63. arith_expr = 314
  64. term = 315
  65. factor = 316
  66. power = 317
  67. atom = 318
  68. listmaker = 319
  69. testlist_gexp = 320
  70. lambdef = 321
  71. trailer = 322
  72. subscriptlist = 323
  73. subscript = 324
  74. sliceop = 325
  75. exprlist = 326
  76. testlist = 327
  77. dictmaker = 328
  78. classdef = 329
  79. arglist = 330
  80. argument = 331
  81. list_iter = 332
  82. list_for = 333
  83. list_if = 334
  84. gen_iter = 335
  85. gen_for = 336
  86. gen_if = 337
  87. testlist1 = 338
  88. encoding_decl = 339
  89. yield_expr = 340
  90. sym_name = { }
  91. for _name, _value in globals().items():
  92.     if type(_value) is type(0):
  93.         sym_name[_value] = _name
  94.         continue
  95.  
  96.  
  97. def main():
  98.     import sys as sys
  99.     import token as token
  100.     if len(sys.argv) == 1:
  101.         sys.argv = sys.argv + [
  102.             'Include/graminit.h',
  103.             'Lib/symbol.py']
  104.     
  105.     token.main()
  106.  
  107. if __name__ == '__main__':
  108.     main()
  109.  
  110.